/* 自定义样式 */

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 卡片悬停效果 */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 自定义动画 */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 表格样式增强 */
.enhanced-table th {
    background-color: #f0f9ff;
    color: #2563eb;
    font-weight: 600;
}

.enhanced-table tr:nth-child(even) {
    background-color: #f9fafb;
}

.enhanced-table tr:hover {
    background-color: #f0f9ff;
}

/* 按钮悬停效果增强 */
.btn-hover-effect {
    transition: all 0.2s ease;
}

.btn-hover-effect:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.1);
}

/* 进度条样式 */
.progress-bar {
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
}

/* 标签样式 */
.custom-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* 自定义图表颜色 */
.chart-colors-primary {
    color: #3b82f6;
}

.chart-colors-secondary {
    color: #10b981;
}

.chart-colors-warning {
    color: #f59e0b;
}

.chart-colors-danger {
    color: #ef4444;
}

/* 日历事件样式 */
.calendar-event {
    border-left: 3px solid;
    padding-left: 8px;
}

.event-important {
    border-color: #ef4444;
}

.event-normal {
    border-color: #3b82f6;
}

.event-low {
    border-color: #10b981;
}